#include "MapInfo.h"
#include "LocationSoftwareMapInfo.h"
#include "Location3dMapInfo.h"
#include <boost/shared_ptr.hpp>

namespace kybot_map
{
    MapInfo::MapInfo()
    {
        
    }

    boost::shared_ptr<MapInfo> MapInfo::CreateMapInfo(const std::string &type)
    {
        if (type == "location_software")
        {
            return boost::make_shared<LocationSoftwareMapInfo>();
        }
        else if(type == "location_3d")
        {
            return boost::make_shared<Location3dMapInfo>();
        }
    }

}